<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title>What is in Request?</title></head>
<body bgcolor="white">
<h1> Request Information </h1>
<font size="4">
JSP Request Method: <%= request.getMethod() %>
<br/>
Request URI: <%= request.getRequestURI() %>
<br/>
Request Protocol: <%= request.getProtocol() %>
<br/>
Servlet path: <%= request.getServletPath() %>
<br/>
Path info: <%= request.getPathInfo() %>
<br/>
Query string: <%= request.getQueryString() %>
<br/>
Content length: <%= request.getContentLength() %>
<br/>
Content type: <%= request.getContentType() %>
<br/>
Server name: <%= request.getServerName() %>
<br/>
Server port: <%= request.getServerPort() %>
<br/>
Remote user: <%= request.getRemoteUser() %>
<br/>
Remote address: <%= request.getRemoteAddr() %>
<br/>
Remote host: <%= request.getRemoteHost() %>
<br/>
Authorization scheme: <%= request.getAuthType() %> 
<br/>
Locale: <%= request.getLocale() %>
<hr/>
The browser you are using is
<%= request.getHeader("User-Agent") %>
<hr/>
</font>
</body>
</html>
